package com.ebocy.hammer.core.domain;

public class Buffer {
	// buffer 对应物品id
	private int itemId;

	// buffer 类型
	// 1,增加攻击
	// 8,降低速度百分比
	// 18,定身,无法移动
	private int type;

	// 开始时间
	private long startTime;

	// 冷却时间
	private int coolDown;

	// 持续时间
	private int time;

	/**
	 * @param type
	 *            buffer类型
	 * @param startTime
	 *            开始时间
	 * @param coolDown
	 *            冷却时间
	 * @param time
	 *            持续时间
	 */
	public Buffer(int itemId, int type, long startTime, int coolDown, int time) {
		super();
		this.itemId = itemId;
		this.type = type;
		this.startTime = startTime;
		this.coolDown = coolDown;
		this.time = time;
	}

	public int getItemId() {
		return itemId;
	}

	public void setItemId(int itemId) {
		this.itemId = itemId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public int getCoolDown() {
		return coolDown;
	}

	public void setCoolDown(int coolDown) {
		this.coolDown = coolDown;
	}

	public int getTime() {
		return time;
	}

	public void setTime(int time) {
		this.time = time;
	}

}
